import { server } from "@/http";
export function getstuleave(data:any){
    return server({
        method:'get',
        url:'/leave/getstuleave',
        params:data
    })
}
export function stuleave(data:any){
    return server({
        method:'post',
        url:'/leave/stuleave',
        data
    })
}
export function tecleave(data:any){
    return server({
        method:'post',
        url:'/leave/tecleave',
        data
    })
}
export function gettecleave(data:any){
    return server({
        method:'get',
        url:'/leave/gettecleave',
        params:data
    })
}